/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package banco_imobiliario.view;

import banco_imobiliario.control.ControladorInterface;
import banco_imobiliario.model.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
import javax.swing.*;
import javax.swing.border.TitledBorder;

/**
 *
 * @author Andre
 */
public class TabuleiroUI extends javax.swing.JFrame implements JogadorObserver {

    ControladorInterface controlInterface = ControladorInterface.getInstancia();
    Jogador jogadorDaVez;
    List<JLabel> tabuleiroTela;
    List<JLabel> inventario;
    List<Jogador> jogadores;
    List<JPanel> paineis;
    private int indicePainel = 0;

    public TabuleiroUI() {



        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Windows".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TabuleiroUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        initComponents();
        BufferedImage image = null;
        File imageFile = new File(".\\src\\banco_imobiliario\\imagens\\icone.png");
        try {
            image = ImageIO.read(imageFile);

        } catch (IOException ex) {
        }

        this.setIconImage(image);
        jD_Inventario.setIconImage(image);
        desativarElementosGraficos();

        tabuleiroTela = new ArrayList<>();
        inventario = new ArrayList<>();
        paineis = new ArrayList<>();
        adicionarPaineis();
        adicionarLabelAoInventario();
        adicinarLabelAoTabuleiroTela();
        configurarTabuleiro();
//        casa1.setVisible(false);
//        casa2.setVisible(false);
//        casa3.setVisible(false);
//        casa4.setVisible(false);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jD_Inventario = new javax.swing.JDialog();
        jP_inventario = new javax.swing.JPanel();
        jP_empresas = new javax.swing.JPanel();
        jL_apple = new javax.swing.JLabel();
        jL_microsoft = new javax.swing.JLabel();
        jL_google = new javax.swing.JLabel();
        jL_facebook = new javax.swing.JLabel();
        jL_whatsapp = new javax.swing.JLabel();
        jL_twitter = new javax.swing.JLabel();
        jP_imoveis = new javax.swing.JPanel();
        jL_Atlantic_Avenue = new javax.swing.JLabel();
        jL_Martin_Luther_King = new javax.swing.JLabel();
        jL_Nort_Carolina_Avenue = new javax.swing.JLabel();
        jL_Boardwalk = new javax.swing.JLabel();
        jL_Connecticut_Avenue = new javax.swing.JLabel();
        jL_Pacifc_Avenue = new javax.swing.JLabel();
        jL_St_James_Place = new javax.swing.JLabel();
        jL_ST_Chales_Place = new javax.swing.JLabel();
        jL_Indiana_Avenue = new javax.swing.JLabel();
        jL_Tennessee_Avenue = new javax.swing.JLabel();
        jL_Marvin_Gardens = new javax.swing.JLabel();
        jL_Park_Place = new javax.swing.JLabel();
        jL_States_Avenue = new javax.swing.JLabel();
        jL_Baltic_Avenue = new javax.swing.JLabel();
        jL_Kentucky_Avenue = new javax.swing.JLabel();
        jL_Mediterraneam_Avenue = new javax.swing.JLabel();
        jL_Oriental_Avenue = new javax.swing.JLabel();
        jL_Ventinor_Avenue = new javax.swing.JLabel();
        jL_Virginia_Avenue = new javax.swing.JLabel();
        jL_New_York_Avenue = new javax.swing.JLabel();
        jL_Pennsyvania_Avenue = new javax.swing.JLabel();
        jL_Vermont_Avenue = new javax.swing.JLabel();
        jP_nformacoesGerais = new javax.swing.JPanel();
        jLabel34 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        jTF_dinheiro = new javax.swing.JTextField();
        jTF_terreno = new javax.swing.JTextField();
        jTF_empresas = new javax.swing.JTextField();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel37 = new javax.swing.JLabel();
        jTF_total = new javax.swing.JTextField();
        jL_imgInformacoes = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();
        jTF_contrucoes1 = new javax.swing.JTextField();
        jL_visualizarCarta = new javax.swing.JLabel();
        jB_sair = new javax.swing.JButton();
        jP_contrucoes = new javax.swing.JPanel();
        casa1 = new javax.swing.JLabel();
        casa2 = new javax.swing.JLabel();
        casa3 = new javax.swing.JLabel();
        casa4 = new javax.swing.JLabel();
        hotel = new javax.swing.JLabel();
        jD_Noticias = new javax.swing.JDialog();
        jL_titulo = new javax.swing.JLabel();
        jB_ok = new javax.swing.JButton();
        jL_texto = new javax.swing.JLabel();
        jL_quantia = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        jL_img = new javax.swing.JLabel();
        jP_JogadorTres = new javax.swing.JPanel();
        jL_imgJogadorTres = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jB_inventarioJogadorTres = new javax.swing.JButton();
        jL_salarioJogadorTres = new javax.swing.JLabel();
        jDesktopPane1 = new javax.swing.JDesktopPane();
        PainelJogarDados = new javax.swing.JPanel();
        jLabel45 = new javax.swing.JLabel();
        jtf_dado1 = new javax.swing.JTextField();
        jtf_dado2 = new javax.swing.JTextField();
        jB_jogarDados = new javax.swing.JButton();
        jl_VirginiaAvenue = new javax.swing.JLabel();
        jl_VentinorAvenue = new javax.swing.JLabel();
        jl_facebook = new javax.swing.JLabel();
        jl_NewYorkAvenue = new javax.swing.JLabel();
        jl_noticiaUm = new javax.swing.JLabel();
        jl_PennsyvaniaAvenue = new javax.swing.JLabel();
        jl_twitter = new javax.swing.JLabel();
        jl_VermontAvenue = new javax.swing.JLabel();
        jl_whatsApp = new javax.swing.JLabel();
        jl_StatesAvenue = new javax.swing.JLabel();
        jl_noticiaQuatro = new javax.swing.JLabel();
        jl_ParkPlace = new javax.swing.JLabel();
        jl_MarvinGardens = new javax.swing.JLabel();
        jl_noticiaTres = new javax.swing.JLabel();
        jl_impostoDeRenda = new javax.swing.JLabel();
        jl_apple = new javax.swing.JLabel();
        jl_ConnecticutAvenue = new javax.swing.JLabel();
        jL_OrientalAvenue = new javax.swing.JLabel();
        jl_noticiaSeis = new javax.swing.JLabel();
        jl_MartinLutherKing = new javax.swing.JLabel();
        jl_windows = new javax.swing.JLabel();
        jl_AtlanticAvenue = new javax.swing.JLabel();
        jl_MediterraneamAvenue = new javax.swing.JLabel();
        jl_KentuckyAvenue = new javax.swing.JLabel();
        jl_noticiaCinco = new javax.swing.JLabel();
        jl_BalticAvenue = new javax.swing.JLabel();
        jl_NortCarolinaAvenue = new javax.swing.JLabel();
        jl_PacifcAvenue = new javax.swing.JLabel();
        jl_STChalesPlace = new javax.swing.JLabel();
        jl_google = new javax.swing.JLabel();
        jl_StJamesPlace = new javax.swing.JLabel();
        jl_lucrosOuDividendos = new javax.swing.JLabel();
        jl_IndianaAvenue = new javax.swing.JLabel();
        jl_TennesseeAvenue = new javax.swing.JLabel();
        jl_Boardwalk = new javax.swing.JLabel();
        jl_noticiaDois = new javax.swing.JLabel();
        jL_prisao = new javax.swing.JLabel();
        jL_vaParaPrisao = new javax.swing.JLabel();
        jL_paradaLivre = new javax.swing.JLabel();
        jL_partida = new javax.swing.JLabel();
        jB_comprar = new javax.swing.JButton();
        jB_cancelar = new javax.swing.JButton();
        jL_meio_tabuleiro = new javax.swing.JLabel();
        jL_tabuleiro = new javax.swing.JLabel();
        jP_JogadorUm = new javax.swing.JPanel();
        jL_imgJogadorUm = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jB_inventarioJogadorUm = new javax.swing.JButton();
        jL_salarioJogadorUm = new javax.swing.JLabel();
        jP_JogadorDois = new javax.swing.JPanel();
        jL_imgJogadorDois = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jB_inventarioJogadorDois = new javax.swing.JButton();
        jL_salarioJogadorDois = new javax.swing.JLabel();
        jP_JogadorQuatro = new javax.swing.JPanel();
        jL_imgJogadorQuatro = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jB_inventarioJogadorQuatro = new javax.swing.JButton();
        jL_salarioJogadorQuatro = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();

        jD_Inventario.setTitle("Inventário");

        jP_inventario.setBorder(javax.swing.BorderFactory.createTitledBorder("André"));

        jP_empresas.setBorder(javax.swing.BorderFactory.createTitledBorder("Empresas"));

        jL_apple.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Empresas/apple.png"))); // NOI18N
        jL_apple.setToolTipText("Apple");
        jL_apple.setEnabled(false);
        jL_apple.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_appleMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_appleMouseExited(evt);
            }
        });

        jL_microsoft.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Empresas/microsoft.png"))); // NOI18N
        jL_microsoft.setToolTipText("Microsoft");
        jL_microsoft.setEnabled(false);
        jL_microsoft.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_microsoftMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_microsoftMouseExited(evt);
            }
        });

        jL_google.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Empresas/google.png"))); // NOI18N
        jL_google.setToolTipText("Google");
        jL_google.setEnabled(false);
        jL_google.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_googleMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_googleMouseExited(evt);
            }
        });

        jL_facebook.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Empresas/facebook.png"))); // NOI18N
        jL_facebook.setToolTipText("Facebook");
        jL_facebook.setEnabled(false);
        jL_facebook.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_facebookMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_facebookMouseExited(evt);
            }
        });

        jL_whatsapp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Empresas/whatsapp.png"))); // NOI18N
        jL_whatsapp.setToolTipText("WhatsApp");
        jL_whatsapp.setEnabled(false);
        jL_whatsapp.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_whatsappMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_whatsappMouseExited(evt);
            }
        });

        jL_twitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Empresas/twitter.png"))); // NOI18N
        jL_twitter.setToolTipText("Twitter");
        jL_twitter.setEnabled(false);
        jL_twitter.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jL_twitterMouseClicked(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_twitterMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_twitterMouseExited(evt);
            }
        });

        javax.swing.GroupLayout jP_empresasLayout = new javax.swing.GroupLayout(jP_empresas);
        jP_empresas.setLayout(jP_empresasLayout);
        jP_empresasLayout.setHorizontalGroup(
            jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_empresasLayout.createSequentialGroup()
                .addGap(47, 47, 47)
                .addGroup(jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jL_apple)
                    .addComponent(jL_microsoft))
                .addGap(31, 31, 31)
                .addGroup(jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jL_facebook)
                    .addComponent(jL_twitter))
                .addGap(31, 31, 31)
                .addGroup(jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jL_whatsapp)
                    .addComponent(jL_google))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jP_empresasLayout.setVerticalGroup(
            jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_empresasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_empresasLayout.createSequentialGroup()
                        .addComponent(jL_google)
                        .addGap(11, 11, 11)
                        .addComponent(jL_whatsapp))
                    .addGroup(jP_empresasLayout.createSequentialGroup()
                        .addGroup(jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_apple)
                            .addComponent(jL_facebook))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jP_empresasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_twitter)
                            .addComponent(jL_microsoft))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jP_imoveis.setBorder(javax.swing.BorderFactory.createTitledBorder("Logradouros"));

        jL_Atlantic_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_amarelo.png"))); // NOI18N
        jL_Atlantic_Avenue.setToolTipText("Atlantic Avenue");
        jL_Atlantic_Avenue.setEnabled(false);
        jL_Atlantic_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Atlantic_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Atlantic_AvenueMouseExited(evt);
            }
        });

        jL_Martin_Luther_King.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_amarelo.png"))); // NOI18N
        jL_Martin_Luther_King.setToolTipText("Martin Luther King");
        jL_Martin_Luther_King.setEnabled(false);
        jL_Martin_Luther_King.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Martin_Luther_KingMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Martin_Luther_KingMouseExited(evt);
            }
        });

        jL_Nort_Carolina_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_amarelo.png"))); // NOI18N
        jL_Nort_Carolina_Avenue.setToolTipText("Nort Carolina Avenue");
        jL_Nort_Carolina_Avenue.setEnabled(false);
        jL_Nort_Carolina_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Nort_Carolina_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Nort_Carolina_AvenueMouseExited(evt);
            }
        });

        jL_Boardwalk.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_roxo.png"))); // NOI18N
        jL_Boardwalk.setToolTipText("Boardwalk");
        jL_Boardwalk.setEnabled(false);
        jL_Boardwalk.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_BoardwalkMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_BoardwalkMouseExited(evt);
            }
        });

        jL_Connecticut_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_roxo.png"))); // NOI18N
        jL_Connecticut_Avenue.setToolTipText("Connecticut Avenue");
        jL_Connecticut_Avenue.setEnabled(false);
        jL_Connecticut_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Connecticut_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Connecticut_AvenueMouseExited(evt);
            }
        });

        jL_Pacifc_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_azulClaro.png"))); // NOI18N
        jL_Pacifc_Avenue.setToolTipText("Pacifc Avenue");
        jL_Pacifc_Avenue.setEnabled(false);
        jL_Pacifc_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Pacifc_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Pacifc_AvenueMouseExited(evt);
            }
        });

        jL_St_James_Place.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_azulClaro.png"))); // NOI18N
        jL_St_James_Place.setToolTipText("St James Place");
        jL_St_James_Place.setEnabled(false);
        jL_St_James_Place.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_St_James_PlaceMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_St_James_PlaceMouseExited(evt);
            }
        });

        jL_ST_Chales_Place.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_azulClaro.png"))); // NOI18N
        jL_ST_Chales_Place.setToolTipText("ST Chales Place");
        jL_ST_Chales_Place.setEnabled(false);
        jL_ST_Chales_Place.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_ST_Chales_PlaceMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_ST_Chales_PlaceMouseExited(evt);
            }
        });

        jL_Indiana_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_rosa.png"))); // NOI18N
        jL_Indiana_Avenue.setToolTipText("Indiana Avenue");
        jL_Indiana_Avenue.setEnabled(false);
        jL_Indiana_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Indiana_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Indiana_AvenueMouseExited(evt);
            }
        });

        jL_Tennessee_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_rosa.png"))); // NOI18N
        jL_Tennessee_Avenue.setToolTipText("Tennessee Avenue");
        jL_Tennessee_Avenue.setEnabled(false);
        jL_Tennessee_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Tennessee_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Tennessee_AvenueMouseExited(evt);
            }
        });

        jL_Marvin_Gardens.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_azulEscuro.png"))); // NOI18N
        jL_Marvin_Gardens.setToolTipText("Marvin Gardens");
        jL_Marvin_Gardens.setEnabled(false);
        jL_Marvin_Gardens.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Marvin_GardensMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Marvin_GardensMouseExited(evt);
            }
        });

        jL_Park_Place.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_azulEscuro.png"))); // NOI18N
        jL_Park_Place.setToolTipText("Park Place");
        jL_Park_Place.setEnabled(false);
        jL_Park_Place.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Park_PlaceMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Park_PlaceMouseExited(evt);
            }
        });

        jL_States_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_azulEscuro.png"))); // NOI18N
        jL_States_Avenue.setToolTipText("States Avenue");
        jL_States_Avenue.setEnabled(false);
        jL_States_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_States_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_States_AvenueMouseExited(evt);
            }
        });

        jL_Baltic_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_laranja.png"))); // NOI18N
        jL_Baltic_Avenue.setToolTipText("Baltic Avenue");
        jL_Baltic_Avenue.setEnabled(false);
        jL_Baltic_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Baltic_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Baltic_AvenueMouseExited(evt);
            }
        });

        jL_Kentucky_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_laranja.png"))); // NOI18N
        jL_Kentucky_Avenue.setToolTipText("Kentucky Avenue");
        jL_Kentucky_Avenue.setEnabled(false);
        jL_Kentucky_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Kentucky_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Kentucky_AvenueMouseExited(evt);
            }
        });

        jL_Mediterraneam_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_laranja.png"))); // NOI18N
        jL_Mediterraneam_Avenue.setToolTipText("Mediterraneam Avenue");
        jL_Mediterraneam_Avenue.setEnabled(false);
        jL_Mediterraneam_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Mediterraneam_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Mediterraneam_AvenueMouseExited(evt);
            }
        });

        jL_Oriental_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_verde.png"))); // NOI18N
        jL_Oriental_Avenue.setToolTipText("Oriental Avenue");
        jL_Oriental_Avenue.setEnabled(false);
        jL_Oriental_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Oriental_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Oriental_AvenueMouseExited(evt);
            }
        });

        jL_Ventinor_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_verde.png"))); // NOI18N
        jL_Ventinor_Avenue.setToolTipText("Ventinor Avenue");
        jL_Ventinor_Avenue.setEnabled(false);
        jL_Ventinor_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Ventinor_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Ventinor_AvenueMouseExited(evt);
            }
        });

        jL_Virginia_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_verde.png"))); // NOI18N
        jL_Virginia_Avenue.setToolTipText("Virginia Avenue");
        jL_Virginia_Avenue.setEnabled(false);
        jL_Virginia_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Virginia_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Virginia_AvenueMouseExited(evt);
            }
        });

        jL_New_York_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_vermelho.png"))); // NOI18N
        jL_New_York_Avenue.setToolTipText("New York Avenue");
        jL_New_York_Avenue.setEnabled(false);
        jL_New_York_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_New_York_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_New_York_AvenueMouseExited(evt);
            }
        });

        jL_Pennsyvania_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_vermelho.png"))); // NOI18N
        jL_Pennsyvania_Avenue.setToolTipText("Pennsyvania Avenue");
        jL_Pennsyvania_Avenue.setEnabled(false);
        jL_Pennsyvania_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Pennsyvania_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Pennsyvania_AvenueMouseExited(evt);
            }
        });

        jL_Vermont_Avenue.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Inventario/Logradouro/mod2_vermelho.png"))); // NOI18N
        jL_Vermont_Avenue.setToolTipText("Vermont Avenue");
        jL_Vermont_Avenue.setEnabled(false);
        jL_Vermont_Avenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_Vermont_AvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_Vermont_AvenueMouseExited(evt);
            }
        });

        javax.swing.GroupLayout jP_imoveisLayout = new javax.swing.GroupLayout(jP_imoveis);
        jP_imoveis.setLayout(jP_imoveisLayout);
        jP_imoveisLayout.setHorizontalGroup(
            jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_imoveisLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addComponent(jL_Atlantic_Avenue)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Martin_Luther_King)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Nort_Carolina_Avenue))
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_imoveisLayout.createSequentialGroup()
                                .addComponent(jL_Pacifc_Avenue)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jL_ST_Chales_Place))
                            .addGroup(jP_imoveisLayout.createSequentialGroup()
                                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jL_Marvin_Gardens)
                                    .addComponent(jL_Oriental_Avenue))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jL_Park_Place)
                                    .addComponent(jL_Ventinor_Avenue))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jL_States_Avenue)
                            .addComponent(jL_St_James_Place)
                            .addComponent(jL_Virginia_Avenue))))
                .addGap(18, 18, 18)
                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addComponent(jL_Boardwalk)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Connecticut_Avenue))
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addComponent(jL_Indiana_Avenue)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Tennessee_Avenue))
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addComponent(jL_Baltic_Avenue)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Kentucky_Avenue)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Mediterraneam_Avenue))
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addComponent(jL_New_York_Avenue)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Pennsyvania_Avenue)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_Vermont_Avenue)))
                .addContainerGap(12, Short.MAX_VALUE))
        );
        jP_imoveisLayout.setVerticalGroup(
            jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_imoveisLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_Martin_Luther_King)
                            .addComponent(jL_Atlantic_Avenue)
                            .addComponent(jL_Nort_Carolina_Avenue))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_Pacifc_Avenue)
                            .addComponent(jL_ST_Chales_Place)
                            .addComponent(jL_St_James_Place)))
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_Connecticut_Avenue)
                            .addComponent(jL_Boardwalk))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_Indiana_Avenue)
                            .addComponent(jL_Tennessee_Avenue))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_Mediterraneam_Avenue)
                            .addComponent(jL_Baltic_Avenue)
                            .addComponent(jL_Kentucky_Avenue))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_New_York_Avenue)
                            .addComponent(jL_Vermont_Avenue)
                            .addComponent(jL_Pennsyvania_Avenue))
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(jP_imoveisLayout.createSequentialGroup()
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_States_Avenue)
                            .addComponent(jL_Park_Place)
                            .addComponent(jL_Marvin_Gardens))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_imoveisLayout.createSequentialGroup()
                                .addComponent(jL_Oriental_Avenue)
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addGroup(jP_imoveisLayout.createSequentialGroup()
                                .addGroup(jP_imoveisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jL_Virginia_Avenue)
                                    .addComponent(jL_Ventinor_Avenue))
                                .addContainerGap())))))
        );

        jP_nformacoesGerais.setBorder(javax.swing.BorderFactory.createTitledBorder("Informações Gerais"));

        jLabel34.setText("Dinheiro:");

        jLabel35.setText("Terreno:");

        jLabel36.setText("Empresas:");

        jTF_dinheiro.setEditable(false);
        jTF_dinheiro.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jTF_dinheiro.setText("R$ 2700,00");

        jTF_terreno.setEditable(false);
        jTF_terreno.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jTF_terreno.setText("R$ 500,00");

        jTF_empresas.setEditable(false);
        jTF_empresas.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jTF_empresas.setText("R$ 350,00");

        jLabel37.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        jLabel37.setText("Total:");

        jTF_total.setEditable(false);
        jTF_total.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jTF_total.setText("R$ 3550,00");

        jL_imgInformacoes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Personagens/128X128/Uptight-icon.png"))); // NOI18N

        jLabel40.setText("Contruções:");

        jTF_contrucoes1.setEditable(false);
        jTF_contrucoes1.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jTF_contrucoes1.setText("R$ 350,00");

        javax.swing.GroupLayout jP_nformacoesGeraisLayout = new javax.swing.GroupLayout(jP_nformacoesGerais);
        jP_nformacoesGerais.setLayout(jP_nformacoesGeraisLayout);
        jP_nformacoesGeraisLayout.setHorizontalGroup(
            jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_nformacoesGeraisLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                                .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel35)
                                    .addComponent(jLabel34))
                                .addGap(26, 26, 26)
                                .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTF_terreno)
                                    .addComponent(jTF_dinheiro, javax.swing.GroupLayout.DEFAULT_SIZE, 74, Short.MAX_VALUE)))
                            .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                                .addComponent(jLabel36)
                                .addGap(19, 19, 19)
                                .addComponent(jTF_empresas))
                            .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                                .addComponent(jLabel37)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jTF_total, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                        .addGap(19, 19, 19)
                        .addComponent(jL_imgInformacoes))
                    .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel40)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTF_contrucoes1))
                    .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jP_nformacoesGeraisLayout.setVerticalGroup(
            jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                .addComponent(jL_imgInformacoes)
                .addGap(27, 27, 27)
                .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jTF_empresas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                        .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTF_dinheiro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel34, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTF_terreno)
                            .addComponent(jLabel35, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(12, 12, 12)
                        .addComponent(jLabel36, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(3, 3, 3)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jTF_contrucoes1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jP_nformacoesGeraisLayout.createSequentialGroup()
                        .addComponent(jLabel40, javax.swing.GroupLayout.PREFERRED_SIZE, 16, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(3, 3, 3)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_nformacoesGeraisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel37)
                    .addComponent(jTF_total, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png"))); // NOI18N

        jB_sair.setText("Sair");
        jB_sair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_sairActionPerformed(evt);
            }
        });

        jP_contrucoes.setBorder(javax.swing.BorderFactory.createTitledBorder("Imóveis"));
        jP_contrucoes.setLayout(null);
        jP_contrucoes.add(casa1);
        casa1.setBounds(27, 27, 0, 0);
        jP_contrucoes.add(casa2);
        casa2.setBounds(93, 27, 0, 0);
        jP_contrucoes.add(casa3);
        casa3.setBounds(27, 93, 0, 0);
        jP_contrucoes.add(casa4);
        casa4.setBounds(93, 93, 0, 0);
        jP_contrucoes.add(hotel);
        hotel.setBounds(10, 20, 150, 130);

        javax.swing.GroupLayout jP_inventarioLayout = new javax.swing.GroupLayout(jP_inventario);
        jP_inventario.setLayout(jP_inventarioLayout);
        jP_inventarioLayout.setHorizontalGroup(
            jP_inventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_inventarioLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jP_nformacoesGerais, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(jP_inventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jP_empresas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jP_imoveis, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 18, Short.MAX_VALUE)
                .addGroup(jP_inventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jP_inventarioLayout.createSequentialGroup()
                        .addComponent(jL_visualizarCarta, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_inventarioLayout.createSequentialGroup()
                        .addComponent(jB_sair, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18))
                    .addGroup(jP_inventarioLayout.createSequentialGroup()
                        .addComponent(jP_contrucoes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())))
        );
        jP_inventarioLayout.setVerticalGroup(
            jP_inventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_inventarioLayout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(jP_inventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jP_inventarioLayout.createSequentialGroup()
                        .addComponent(jL_visualizarCarta)
                        .addGap(18, 18, 18)
                        .addComponent(jP_contrucoes, javax.swing.GroupLayout.PREFERRED_SIZE, 158, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jB_sair, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jP_inventarioLayout.createSequentialGroup()
                        .addComponent(jP_empresas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jP_imoveis, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jP_nformacoesGerais, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jD_InventarioLayout = new javax.swing.GroupLayout(jD_Inventario.getContentPane());
        jD_Inventario.getContentPane().setLayout(jD_InventarioLayout);
        jD_InventarioLayout.setHorizontalGroup(
            jD_InventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jD_InventarioLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jP_inventario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(122, Short.MAX_VALUE))
        );
        jD_InventarioLayout.setVerticalGroup(
            jD_InventarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jD_InventarioLayout.createSequentialGroup()
                .addGap(11, 11, 11)
                .addComponent(jP_inventario, javax.swing.GroupLayout.PREFERRED_SIZE, 507, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        jD_Noticias.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        jD_Noticias.setTitle("Notícia");
        jD_Noticias.getContentPane().setLayout(null);

        jL_titulo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_titulo.setText("Sorte");
        jD_Noticias.getContentPane().add(jL_titulo);
        jL_titulo.setBounds(90, 40, 90, 14);

        jB_ok.setText("OK");
        jB_ok.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_okActionPerformed(evt);
            }
        });
        jD_Noticias.getContentPane().add(jB_ok);
        jB_ok.setBounds(90, 170, 73, 23);

        jL_texto.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_texto.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jD_Noticias.getContentPane().add(jL_texto);
        jL_texto.setBounds(50, 60, 150, 80);

        jL_quantia.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jL_quantia.setForeground(new java.awt.Color(0, 0, 204));
        jL_quantia.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_quantia.setText("150.0");
        jL_quantia.setToolTipText("");
        jD_Noticias.getContentPane().add(jL_quantia);
        jL_quantia.setBounds(90, 150, 80, 20);

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLabel1.setText("R$");
        jD_Noticias.getContentPane().add(jLabel1);
        jLabel1.setBounds(80, 150, 20, 20);

        jL_img.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Sorte-Reves/Frente3.png"))); // NOI18N
        jD_Noticias.getContentPane().add(jL_img);
        jL_img.setBounds(0, 0, 260, 237);

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Tabuleiro");
        setResizable(false);

        jP_JogadorTres.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Nome do jogador", javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.DEFAULT_POSITION));
        jP_JogadorTres.setPreferredSize(new java.awt.Dimension(203, 282));

        jL_imgJogadorTres.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Personagens/128X128/robot-male-icon.png"))); // NOI18N

        jLabel2.setText("Dinheiro:  R$");

        jB_inventarioJogadorTres.setText("Inventário");
        jB_inventarioJogadorTres.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_inventarioJogadorTresActionPerformed(evt);
            }
        });

        jL_salarioJogadorTres.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_salarioJogadorTres.setText("2500");
        jL_salarioJogadorTres.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        javax.swing.GroupLayout jP_JogadorTresLayout = new javax.swing.GroupLayout(jP_JogadorTres);
        jP_JogadorTres.setLayout(jP_JogadorTresLayout);
        jP_JogadorTresLayout.setHorizontalGroup(
            jP_JogadorTresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorTresLayout.createSequentialGroup()
                .addGap(51, 51, 51)
                .addComponent(jB_inventarioJogadorTres)
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_JogadorTresLayout.createSequentialGroup()
                .addContainerGap(34, Short.MAX_VALUE)
                .addGroup(jP_JogadorTresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_JogadorTresLayout.createSequentialGroup()
                        .addComponent(jLabel2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jL_salarioJogadorTres, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jL_imgJogadorTres))
                .addGap(27, 27, 27))
        );
        jP_JogadorTresLayout.setVerticalGroup(
            jP_JogadorTresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorTresLayout.createSequentialGroup()
                .addComponent(jL_imgJogadorTres)
                .addGap(18, 18, 18)
                .addGroup(jP_JogadorTresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(jL_salarioJogadorTres))
                .addGap(18, 18, 18)
                .addComponent(jB_inventarioJogadorTres)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jDesktopPane1.setBackground(new java.awt.Color(240, 240, 240));
        jDesktopPane1.setForeground(new java.awt.Color(240, 240, 240));

        PainelJogarDados.setBackground(new java.awt.Color(255, 255, 255));
        PainelJogarDados.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        jLabel45.setIcon(new javax.swing.ImageIcon("C:\\Users\\Andre\\Documents\\NetBeansProjects\\BancoImobiliario(Versão IHC)\\src\\banco_imobiliario\\imagens\\Die\\dice-icon2.png")); // NOI18N

        jtf_dado1.setForeground(new java.awt.Color(204, 204, 204));
        jtf_dado1.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jtf_dado1.setText("Dado 1");
        jtf_dado1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtf_dado1ActionPerformed(evt);
            }
        });
        jtf_dado1.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jtf_dado1FocusGained(evt);
            }
            public void focusLost(java.awt.event.FocusEvent evt) {
                jtf_dado1FocusLost(evt);
            }
        });
        jtf_dado1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jtf_dado1KeyPressed(evt);
            }
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jtf_dado1KeyReleased(evt);
            }
        });

        jtf_dado2.setForeground(new java.awt.Color(204, 204, 204));
        jtf_dado2.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jtf_dado2.setText("Dado 2");
        jtf_dado2.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                jtf_dado2FocusGained(evt);
            }
            public void focusLost(java.awt.event.FocusEvent evt) {
                jtf_dado2FocusLost(evt);
            }
        });
        jtf_dado2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jtf_dado2KeyReleased(evt);
            }
        });

        jB_jogarDados.setText("ok");
        jB_jogarDados.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_jogarDadosActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout PainelJogarDadosLayout = new javax.swing.GroupLayout(PainelJogarDados);
        PainelJogarDados.setLayout(PainelJogarDadosLayout);
        PainelJogarDadosLayout.setHorizontalGroup(
            PainelJogarDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PainelJogarDadosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel45, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(10, 10, 10)
                .addComponent(jtf_dado1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(10, 10, 10)
                .addComponent(jtf_dado2, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jB_jogarDados)
                .addContainerGap(27, Short.MAX_VALUE))
        );
        PainelJogarDadosLayout.setVerticalGroup(
            PainelJogarDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PainelJogarDadosLayout.createSequentialGroup()
                .addGroup(PainelJogarDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel45, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(PainelJogarDadosLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(PainelJogarDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jtf_dado1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jtf_dado2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jB_jogarDados))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        PainelJogarDados.setBounds(150, 430, 290, 50);
        jDesktopPane1.add(PainelJogarDados, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_VirginiaAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_VirginiaAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_VirginiaAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_VirginiaAvenueMouseExited(evt);
            }
        });
        jl_VirginiaAvenue.setBounds(223, 3, 45, 83);
        jDesktopPane1.add(jl_VirginiaAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_VentinorAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_VentinorAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_VentinorAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_VentinorAvenueMouseExited(evt);
            }
        });
        jl_VentinorAvenue.setBounds(130, 3, 45, 83);
        jDesktopPane1.add(jl_VentinorAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_facebook.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_facebook.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_facebookMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_facebookMouseExited(evt);
            }
        });
        jl_facebook.setBounds(178, 3, 45, 83);
        jDesktopPane1.add(jl_facebook, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_NewYorkAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_NewYorkAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_NewYorkAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_NewYorkAvenueMouseExited(evt);
            }
        });
        jl_NewYorkAvenue.setBounds(270, 3, 45, 83);
        jDesktopPane1.add(jl_NewYorkAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_noticiaUm.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_noticiaUm.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_noticiaUmMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_noticiaUmMouseExited(evt);
            }
        });
        jl_noticiaUm.setBounds(315, 3, 45, 83);
        jDesktopPane1.add(jl_noticiaUm, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_PennsyvaniaAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_PennsyvaniaAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_PennsyvaniaAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_PennsyvaniaAvenueMouseExited(evt);
            }
        });
        jl_PennsyvaniaAvenue.setBounds(362, 3, 45, 83);
        jDesktopPane1.add(jl_PennsyvaniaAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_twitter.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_twitter.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_twitterMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_twitterMouseExited(evt);
            }
        });
        jl_twitter.setBounds(407, 3, 45, 83);
        jDesktopPane1.add(jl_twitter, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_VermontAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_VermontAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_VermontAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_VermontAvenueMouseExited(evt);
            }
        });
        jl_VermontAvenue.setBounds(455, 3, 45, 83);
        jDesktopPane1.add(jl_VermontAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_whatsApp.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_whatsApp.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_whatsAppMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_whatsAppMouseExited(evt);
            }
        });
        jl_whatsApp.setBounds(86, 495, 45, 83);
        jDesktopPane1.add(jl_whatsApp, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_StatesAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_StatesAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_StatesAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_StatesAvenueMouseExited(evt);
            }
        });
        jl_StatesAvenue.setBounds(132, 495, 45, 83);
        jDesktopPane1.add(jl_StatesAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_noticiaQuatro.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_noticiaQuatro.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_noticiaQuatroMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_noticiaQuatroMouseExited(evt);
            }
        });
        jl_noticiaQuatro.setBounds(178, 495, 45, 83);
        jDesktopPane1.add(jl_noticiaQuatro, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_ParkPlace.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_ParkPlace.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_ParkPlaceMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_ParkPlaceMouseExited(evt);
            }
        });
        jl_ParkPlace.setBounds(223, 495, 45, 83);
        jDesktopPane1.add(jl_ParkPlace, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_MarvinGardens.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_MarvinGardens.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_MarvinGardensMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_MarvinGardensMouseExited(evt);
            }
        });
        jl_MarvinGardens.setBounds(270, 495, 45, 83);
        jDesktopPane1.add(jl_MarvinGardens, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_noticiaTres.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_noticiaTres.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_noticiaTresMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_noticiaTresMouseExited(evt);
            }
        });
        jl_noticiaTres.setBounds(315, 495, 45, 83);
        jDesktopPane1.add(jl_noticiaTres, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_impostoDeRenda.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_impostoDeRenda.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_impostoDeRendaMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_impostoDeRendaMouseExited(evt);
            }
        });
        jl_impostoDeRenda.setBounds(362, 495, 45, 83);
        jDesktopPane1.add(jl_impostoDeRenda, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_apple.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_apple.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_appleMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_appleMouseExited(evt);
            }
        });
        jl_apple.setBounds(407, 495, 45, 83);
        jDesktopPane1.add(jl_apple, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_ConnecticutAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_ConnecticutAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_ConnecticutAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_ConnecticutAvenueMouseExited(evt);
            }
        });
        jl_ConnecticutAvenue.setBounds(455, 495, 45, 83);
        jDesktopPane1.add(jl_ConnecticutAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_OrientalAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_OrientalAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jL_OrientalAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jL_OrientalAvenueMouseExited(evt);
            }
        });
        jL_OrientalAvenue.setBounds(85, 5, 45, 80);
        jDesktopPane1.add(jL_OrientalAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_noticiaSeis.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_noticiaSeis.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_noticiaSeisMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_noticiaSeisMouseExited(evt);
            }
        });
        jl_noticiaSeis.setBounds(0, 132, 85, 45);
        jDesktopPane1.add(jl_noticiaSeis, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_MartinLutherKing.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_MartinLutherKing.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_MartinLutherKingMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_MartinLutherKingMouseExited(evt);
            }
        });
        jl_MartinLutherKing.setBounds(0, 179, 85, 45);
        jDesktopPane1.add(jl_MartinLutherKing, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_windows.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_windows.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_windowsMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_windowsMouseExited(evt);
            }
        });
        jl_windows.setBounds(0, 225, 85, 45);
        jDesktopPane1.add(jl_windows, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_AtlanticAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_AtlanticAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_AtlanticAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_AtlanticAvenueMouseExited(evt);
            }
        });
        jl_AtlanticAvenue.setBounds(0, 270, 85, 45);
        jDesktopPane1.add(jl_AtlanticAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_MediterraneamAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_MediterraneamAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_MediterraneamAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_MediterraneamAvenueMouseExited(evt);
            }
        });
        jl_MediterraneamAvenue.setBounds(0, 315, 85, 45);
        jDesktopPane1.add(jl_MediterraneamAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_KentuckyAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_KentuckyAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_KentuckyAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_KentuckyAvenueMouseExited(evt);
            }
        });
        jl_KentuckyAvenue.setBounds(0, 360, 85, 45);
        jDesktopPane1.add(jl_KentuckyAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_noticiaCinco.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_noticiaCinco.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_noticiaCincoMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_noticiaCincoMouseExited(evt);
            }
        });
        jl_noticiaCinco.setBounds(0, 405, 85, 45);
        jDesktopPane1.add(jl_noticiaCinco, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_BalticAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_BalticAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_BalticAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_BalticAvenueMouseExited(evt);
            }
        });
        jl_BalticAvenue.setBounds(0, 450, 85, 45);
        jDesktopPane1.add(jl_BalticAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_NortCarolinaAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_NortCarolinaAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_NortCarolinaAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_NortCarolinaAvenueMouseExited(evt);
            }
        });
        jl_NortCarolinaAvenue.setBounds(0, 88, 85, 45);
        jDesktopPane1.add(jl_NortCarolinaAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_PacifcAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_PacifcAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_PacifcAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_PacifcAvenueMouseExited(evt);
            }
        });
        jl_PacifcAvenue.setBounds(500, 133, 85, 45);
        jDesktopPane1.add(jl_PacifcAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_STChalesPlace.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_STChalesPlace.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_STChalesPlaceMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_STChalesPlaceMouseExited(evt);
            }
        });
        jl_STChalesPlace.setBounds(500, 179, 85, 45);
        jDesktopPane1.add(jl_STChalesPlace, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_google.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_google.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_googleMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_googleMouseExited(evt);
            }
        });
        jl_google.setBounds(500, 225, 85, 45);
        jDesktopPane1.add(jl_google, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_StJamesPlace.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_StJamesPlace.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_StJamesPlaceMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_StJamesPlaceMouseExited(evt);
            }
        });
        jl_StJamesPlace.setBounds(500, 270, 85, 45);
        jDesktopPane1.add(jl_StJamesPlace, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_lucrosOuDividendos.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_lucrosOuDividendos.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_lucrosOuDividendosMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_lucrosOuDividendosMouseExited(evt);
            }
        });
        jl_lucrosOuDividendos.setBounds(500, 315, 85, 45);
        jDesktopPane1.add(jl_lucrosOuDividendos, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_IndianaAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_IndianaAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_IndianaAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_IndianaAvenueMouseExited(evt);
            }
        });
        jl_IndianaAvenue.setBounds(500, 360, 85, 45);
        jDesktopPane1.add(jl_IndianaAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_TennesseeAvenue.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_TennesseeAvenue.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_TennesseeAvenueMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_TennesseeAvenueMouseExited(evt);
            }
        });
        jl_TennesseeAvenue.setBounds(500, 405, 85, 45);
        jDesktopPane1.add(jl_TennesseeAvenue, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_Boardwalk.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_Boardwalk.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_BoardwalkMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_BoardwalkMouseExited(evt);
            }
        });
        jl_Boardwalk.setBounds(500, 450, 85, 45);
        jDesktopPane1.add(jl_Boardwalk, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jl_noticiaDois.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jl_noticiaDois.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                jl_noticiaDoisMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                jl_noticiaDoisMouseExited(evt);
            }
        });
        jl_noticiaDois.setBounds(500, 87, 85, 45);
        jDesktopPane1.add(jl_noticiaDois, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_prisao.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_prisao.setBounds(500, 0, 85, 85);
        jDesktopPane1.add(jL_prisao, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_vaParaPrisao.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_vaParaPrisao.setBounds(0, 495, 85, 85);
        jDesktopPane1.add(jL_vaParaPrisao, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_paradaLivre.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_paradaLivre.setBounds(500, 495, 85, 85);
        jDesktopPane1.add(jL_paradaLivre, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_partida.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_partida.setBounds(0, 0, 85, 85);
        jDesktopPane1.add(jL_partida, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jB_comprar.setText("Comprar");
        jB_comprar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_comprarActionPerformed(evt);
            }
        });
        jB_comprar.setBounds(380, 220, 73, 23);
        jDesktopPane1.add(jB_comprar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jB_cancelar.setText("Cancelar");
        jB_cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_cancelarActionPerformed(evt);
            }
        });
        jB_cancelar.setBounds(373, 270, 80, 23);
        jDesktopPane1.add(jB_cancelar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_meio_tabuleiro.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_meio_tabuleiro.setBounds(85, 88, 415, 406);
        jDesktopPane1.add(jL_meio_tabuleiro, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jL_tabuleiro.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/tabuleiro5.png"))); // NOI18N
        jL_tabuleiro.setDisabledIcon(null);
        jL_tabuleiro.setBounds(0, 0, 585, 580);
        jDesktopPane1.add(jL_tabuleiro, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jP_JogadorUm.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Nome do jogador", javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.DEFAULT_POSITION));
        jP_JogadorUm.setPreferredSize(new java.awt.Dimension(203, 282));

        jL_imgJogadorUm.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Personagens/128X128/robot-male-icon.png"))); // NOI18N

        jLabel6.setText("Dinheiro:  R$");

        jB_inventarioJogadorUm.setText("Inventário");
        jB_inventarioJogadorUm.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_inventarioJogadorUmActionPerformed(evt);
            }
        });

        jL_salarioJogadorUm.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_salarioJogadorUm.setText("2500");
        jL_salarioJogadorUm.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        javax.swing.GroupLayout jP_JogadorUmLayout = new javax.swing.GroupLayout(jP_JogadorUm);
        jP_JogadorUm.setLayout(jP_JogadorUmLayout);
        jP_JogadorUmLayout.setHorizontalGroup(
            jP_JogadorUmLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorUmLayout.createSequentialGroup()
                .addGap(51, 51, 51)
                .addComponent(jB_inventarioJogadorUm)
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_JogadorUmLayout.createSequentialGroup()
                .addContainerGap(34, Short.MAX_VALUE)
                .addGroup(jP_JogadorUmLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_JogadorUmLayout.createSequentialGroup()
                        .addComponent(jLabel6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jL_salarioJogadorUm, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jL_imgJogadorUm))
                .addGap(27, 27, 27))
        );
        jP_JogadorUmLayout.setVerticalGroup(
            jP_JogadorUmLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorUmLayout.createSequentialGroup()
                .addComponent(jL_imgJogadorUm)
                .addGap(18, 18, 18)
                .addGroup(jP_JogadorUmLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(jL_salarioJogadorUm))
                .addGap(18, 18, 18)
                .addComponent(jB_inventarioJogadorUm)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jP_JogadorDois.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Nome do jogador", javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.DEFAULT_POSITION));
        jP_JogadorDois.setPreferredSize(new java.awt.Dimension(203, 282));

        jL_imgJogadorDois.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Personagens/128X128/robot-male-icon.png"))); // NOI18N

        jLabel9.setText("Dinheiro:  R$");

        jB_inventarioJogadorDois.setText("Inventário");
        jB_inventarioJogadorDois.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_inventarioJogadorDoisActionPerformed(evt);
            }
        });

        jL_salarioJogadorDois.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_salarioJogadorDois.setText("2500");
        jL_salarioJogadorDois.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        javax.swing.GroupLayout jP_JogadorDoisLayout = new javax.swing.GroupLayout(jP_JogadorDois);
        jP_JogadorDois.setLayout(jP_JogadorDoisLayout);
        jP_JogadorDoisLayout.setHorizontalGroup(
            jP_JogadorDoisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorDoisLayout.createSequentialGroup()
                .addGap(51, 51, 51)
                .addComponent(jB_inventarioJogadorDois)
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_JogadorDoisLayout.createSequentialGroup()
                .addContainerGap(34, Short.MAX_VALUE)
                .addGroup(jP_JogadorDoisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_JogadorDoisLayout.createSequentialGroup()
                        .addComponent(jLabel9)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jL_salarioJogadorDois, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jL_imgJogadorDois))
                .addGap(27, 27, 27))
        );
        jP_JogadorDoisLayout.setVerticalGroup(
            jP_JogadorDoisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorDoisLayout.createSequentialGroup()
                .addComponent(jL_imgJogadorDois)
                .addGap(18, 18, 18)
                .addGroup(jP_JogadorDoisLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jL_salarioJogadorDois))
                .addGap(18, 18, 18)
                .addComponent(jB_inventarioJogadorDois)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jP_JogadorQuatro.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Nome do jogador", javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.DEFAULT_POSITION));
        jP_JogadorQuatro.setPreferredSize(new java.awt.Dimension(203, 282));

        jL_imgJogadorQuatro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Personagens/128X128/robot-male-icon.png"))); // NOI18N

        jLabel12.setText("Dinheiro:  R$");

        jB_inventarioJogadorQuatro.setText("Inventário");
        jB_inventarioJogadorQuatro.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_inventarioJogadorQuatroActionPerformed(evt);
            }
        });

        jL_salarioJogadorQuatro.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jL_salarioJogadorQuatro.setText("2500");
        jL_salarioJogadorQuatro.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        javax.swing.GroupLayout jP_JogadorQuatroLayout = new javax.swing.GroupLayout(jP_JogadorQuatro);
        jP_JogadorQuatro.setLayout(jP_JogadorQuatroLayout);
        jP_JogadorQuatroLayout.setHorizontalGroup(
            jP_JogadorQuatroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorQuatroLayout.createSequentialGroup()
                .addGap(51, 51, 51)
                .addComponent(jB_inventarioJogadorQuatro)
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_JogadorQuatroLayout.createSequentialGroup()
                .addContainerGap(34, Short.MAX_VALUE)
                .addGroup(jP_JogadorQuatroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_JogadorQuatroLayout.createSequentialGroup()
                        .addComponent(jLabel12)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jL_salarioJogadorQuatro, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jL_imgJogadorQuatro))
                .addGap(27, 27, 27))
        );
        jP_JogadorQuatroLayout.setVerticalGroup(
            jP_JogadorQuatroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_JogadorQuatroLayout.createSequentialGroup()
                .addComponent(jL_imgJogadorQuatro)
                .addGap(18, 18, 18)
                .addGroup(jP_JogadorQuatroLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(jL_salarioJogadorQuatro))
                .addGap(18, 18, 18)
                .addComponent(jB_inventarioJogadorQuatro)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jMenu1.setText("Opções");

        jMenuItem4.setText("Embaralhar Notícias");
        jMenu1.add(jMenuItem4);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Ajuda");

        jMenuItem1.setText("Dúvidas Frequentes");
        jMenu2.add(jMenuItem1);

        jMenuItem2.setText("Video Demostrativo");
        jMenu2.add(jMenuItem2);

        jMenuItem3.setText("Sobre o Jogo");
        jMenu2.add(jMenuItem3);

        jMenuBar1.add(jMenu2);

        jMenu3.setText("Sobre");
        jMenuBar1.add(jMenu3);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(10, 10, 10)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jP_JogadorUm, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jP_JogadorTres, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(10, 10, 10)
                .addComponent(jDesktopPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 586, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(13, 13, 13)
                        .addComponent(jP_JogadorDois, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jP_JogadorQuatro, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(11, 11, 11)
                        .addComponent(jP_JogadorUm, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(102, 102, 102)
                        .addComponent(jP_JogadorTres, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(10, 10, 10)
                            .addComponent(jP_JogadorDois, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jP_JogadorQuatro, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(11, 11, 11)
                            .addComponent(jDesktopPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 579, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(17, Short.MAX_VALUE))
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-1047)/2, (screenSize.height-666)/2, 1047, 666);
    }// </editor-fold>//GEN-END:initComponents

    private void jB_sairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_sairActionPerformed
        jD_Inventario.setVisible(false);
    }//GEN-LAST:event_jB_sairActionPerformed

    private void jL_appleMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_appleMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Empresas/apple.png")));
    }//GEN-LAST:event_jL_appleMouseEntered

    private void jL_facebookMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_facebookMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Empresas/facebook.png")));
    }//GEN-LAST:event_jL_facebookMouseEntered

    private void jL_googleMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_googleMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Empresas/google.png")));
    }//GEN-LAST:event_jL_googleMouseEntered

    private void jL_microsoftMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_microsoftMouseEntered

        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Empresas/microsoft.png")));

    }//GEN-LAST:event_jL_microsoftMouseEntered

    private void jL_twitterMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_twitterMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Empresas/twitter.png")));
    }//GEN-LAST:event_jL_twitterMouseEntered

    private void jL_whatsappMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_whatsappMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Empresas/whatsapp.png")));
    }//GEN-LAST:event_jL_whatsappMouseEntered

    private void jL_appleMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_appleMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_appleMouseExited

    private void jB_inventarioJogadorTresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_inventarioJogadorTresActionPerformed
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        jD_Inventario.setBounds((screenSize.width - 705) / 2, (screenSize.height - 570) / 2, 705, 570);
        jD_Inventario.setVisible(true);

    }//GEN-LAST:event_jB_inventarioJogadorTresActionPerformed

    private void jL_facebookMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_facebookMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_facebookMouseExited

    private void jL_googleMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_googleMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_googleMouseExited

    private void jL_microsoftMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_microsoftMouseExited

        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));

    }//GEN-LAST:event_jL_microsoftMouseExited

    private void jL_twitterMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_twitterMouseExited

        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));

    }//GEN-LAST:event_jL_twitterMouseExited

    private void jL_whatsappMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_whatsappMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_whatsappMouseExited

    private void jL_Martin_Luther_KingMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Martin_Luther_KingMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Martin Luther King.png")));
    }//GEN-LAST:event_jL_Martin_Luther_KingMouseEntered

    private void jL_Nort_Carolina_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Nort_Carolina_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Nort Carolina Avenue.png")));
    }//GEN-LAST:event_jL_Nort_Carolina_AvenueMouseEntered

    private void jL_BoardwalkMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_BoardwalkMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Boardwalk.png")));
    }//GEN-LAST:event_jL_BoardwalkMouseEntered

    private void jL_Connecticut_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Connecticut_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Connecticut Avenue.png")));


    }//GEN-LAST:event_jL_Connecticut_AvenueMouseEntered

    private void jL_Pacifc_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Pacifc_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Pacifc Avenue.png")));
    }//GEN-LAST:event_jL_Pacifc_AvenueMouseEntered

    private void jL_ST_Chales_PlaceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_ST_Chales_PlaceMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/ST Chales Place.png")));
    }//GEN-LAST:event_jL_ST_Chales_PlaceMouseEntered

    private void jL_St_James_PlaceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_St_James_PlaceMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/St James Place.png")));
    }//GEN-LAST:event_jL_St_James_PlaceMouseEntered

    private void jL_Indiana_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Indiana_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Indiana Avenue.png")));
    }//GEN-LAST:event_jL_Indiana_AvenueMouseEntered

    private void jL_Tennessee_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Tennessee_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Tennessee Avenue.png")));
    }//GEN-LAST:event_jL_Tennessee_AvenueMouseEntered

    private void jL_Marvin_GardensMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Marvin_GardensMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Marvin Gardens.png")));
    }//GEN-LAST:event_jL_Marvin_GardensMouseEntered

    private void jL_Park_PlaceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Park_PlaceMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Park Place.png")));
    }//GEN-LAST:event_jL_Park_PlaceMouseEntered

    private void jL_States_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_States_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/States Avenue.png")));
    }//GEN-LAST:event_jL_States_AvenueMouseEntered

    private void jL_Baltic_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Baltic_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Baltic Avenue.png")));
    }//GEN-LAST:event_jL_Baltic_AvenueMouseEntered

    private void jL_Kentucky_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Kentucky_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Kentucky Avenue.png")));
    }//GEN-LAST:event_jL_Kentucky_AvenueMouseEntered

    private void jL_Mediterraneam_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Mediterraneam_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Mediterraneam Avenue.png")));
    }//GEN-LAST:event_jL_Mediterraneam_AvenueMouseEntered

    private void jL_Oriental_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Oriental_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Oriental Avenue.png")));
    }//GEN-LAST:event_jL_Oriental_AvenueMouseEntered

    private void jL_Ventinor_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Ventinor_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Ventinor Avenue.png")));
    }//GEN-LAST:event_jL_Ventinor_AvenueMouseEntered

    private void jL_Virginia_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Virginia_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Virginia Avenue.png")));
    }//GEN-LAST:event_jL_Virginia_AvenueMouseEntered

    private void jL_New_York_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_New_York_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/New York Avenue.png")));
    }//GEN-LAST:event_jL_New_York_AvenueMouseEntered

    private void jL_Pennsyvania_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Pennsyvania_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Pennsyvania Avenue.png")));
    }//GEN-LAST:event_jL_Pennsyvania_AvenueMouseEntered

    private void jL_Vermont_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Vermont_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Vermont Avenue.png")));
    }//GEN-LAST:event_jL_Vermont_AvenueMouseEntered

    private void jL_Atlantic_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Atlantic_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Atlantic_AvenueMouseExited

    private void jL_Atlantic_AvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Atlantic_AvenueMouseEntered
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/Logradouro/Atlantic Avenue.png")));
    }//GEN-LAST:event_jL_Atlantic_AvenueMouseEntered

    private void jL_Martin_Luther_KingMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Martin_Luther_KingMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Martin_Luther_KingMouseExited

    private void jL_Nort_Carolina_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Nort_Carolina_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Nort_Carolina_AvenueMouseExited

    private void jL_BoardwalkMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_BoardwalkMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_BoardwalkMouseExited

    private void jL_Connecticut_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Connecticut_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Connecticut_AvenueMouseExited

    private void jL_Pacifc_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Pacifc_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Pacifc_AvenueMouseExited

    private void jL_ST_Chales_PlaceMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_ST_Chales_PlaceMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_ST_Chales_PlaceMouseExited

    private void jL_St_James_PlaceMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_St_James_PlaceMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_St_James_PlaceMouseExited

    private void jL_Indiana_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Indiana_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Indiana_AvenueMouseExited

    private void jL_Tennessee_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Tennessee_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Tennessee_AvenueMouseExited

    private void jL_Marvin_GardensMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Marvin_GardensMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Marvin_GardensMouseExited

    private void jL_Park_PlaceMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Park_PlaceMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Park_PlaceMouseExited

    private void jL_States_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_States_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_States_AvenueMouseExited

    private void jL_Baltic_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Baltic_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Baltic_AvenueMouseExited

    private void jL_Kentucky_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Kentucky_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Kentucky_AvenueMouseExited

    private void jL_Mediterraneam_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Mediterraneam_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Mediterraneam_AvenueMouseExited

    private void jL_Oriental_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Oriental_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Oriental_AvenueMouseExited

    private void jL_Ventinor_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Ventinor_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Ventinor_AvenueMouseExited

    private void jL_Virginia_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Virginia_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Virginia_AvenueMouseExited

    private void jL_New_York_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_New_York_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_New_York_AvenueMouseExited

    private void jL_Pennsyvania_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Pennsyvania_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Pennsyvania_AvenueMouseExited

    private void jL_Vermont_AvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_Vermont_AvenueMouseExited
        jL_visualizarCarta.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/model.png")));
    }//GEN-LAST:event_jL_Vermont_AvenueMouseExited

    private void jB_inventarioJogadorUmActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_inventarioJogadorUmActionPerformed
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        jD_Inventario.setBounds((screenSize.width - 705) / 2, (screenSize.height - 570) / 2, 705, 570);
        jD_Inventario.setVisible(true);
        jP_inventario.setBorder(javax.swing.BorderFactory.createTitledBorder(((TitledBorder) jP_JogadorUm.getBorder()).getTitle()));
        jL_imgInformacoes.setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(0).getPeca().getLocalImagemInformacao())));
        apresentaInformacoesDasCartasNoInvetario(jogadores.get(0));
    }//GEN-LAST:event_jB_inventarioJogadorUmActionPerformed

    private void jB_inventarioJogadorDoisActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_inventarioJogadorDoisActionPerformed
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        jD_Inventario.setBounds((screenSize.width - 705) / 2, (screenSize.height - 570) / 2, 705, 570);
        jD_Inventario.setVisible(true);

    }//GEN-LAST:event_jB_inventarioJogadorDoisActionPerformed

    private void jB_inventarioJogadorQuatroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_inventarioJogadorQuatroActionPerformed
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        jD_Inventario.setBounds((screenSize.width - 705) / 2, (screenSize.height - 570) / 2, 705, 570);
        jD_Inventario.setVisible(true);

    }//GEN-LAST:event_jB_inventarioJogadorQuatroActionPerformed

    private void jL_OrientalAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_OrientalAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Oriental Avenue.png")));

        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jL_OrientalAvenueMouseEntered

    private void jl_VentinorAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_VentinorAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Ventinor Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_VentinorAvenueMouseEntered

    private void jl_VirginiaAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_VirginiaAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Virginia Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_VirginiaAvenueMouseEntered

    private void jL_OrientalAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_OrientalAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jL_OrientalAvenueMouseExited

    private void jl_VentinorAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_VentinorAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_VentinorAvenueMouseExited

    private void jl_VirginiaAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_VirginiaAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_VirginiaAvenueMouseExited

    private void jl_NewYorkAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_NewYorkAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/New York Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_NewYorkAvenueMouseEntered

    private void jl_PennsyvaniaAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_PennsyvaniaAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Pennsyvania Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_PennsyvaniaAvenueMouseEntered

    private void jl_VermontAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_VermontAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Vermont Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_VermontAvenueMouseEntered

    private void jl_PacifcAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_PacifcAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Pacifc Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_PacifcAvenueMouseEntered

    private void jl_STChalesPlaceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_STChalesPlaceMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/ST Chales Place.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_STChalesPlaceMouseEntered

    private void jl_StJamesPlaceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_StJamesPlaceMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/St James Place.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_StJamesPlaceMouseEntered

    private void jl_IndianaAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_IndianaAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Indiana Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_IndianaAvenueMouseEntered

    private void jl_TennesseeAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_TennesseeAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Tennessee Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_TennesseeAvenueMouseEntered

    private void jl_BoardwalkMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_BoardwalkMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Boardwalk.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_BoardwalkMouseEntered

    private void jl_ConnecticutAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_ConnecticutAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Connecticut Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_ConnecticutAvenueMouseEntered

    private void jl_MarvinGardensMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_MarvinGardensMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Marvin Gardens.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_MarvinGardensMouseEntered

    private void jl_ParkPlaceMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_ParkPlaceMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Park Place.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_ParkPlaceMouseEntered

    private void jl_StatesAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_StatesAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/States Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_StatesAvenueMouseEntered

    private void jl_BalticAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_BalticAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Baltic Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_BalticAvenueMouseEntered

    private void jl_KentuckyAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_KentuckyAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Kentucky Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_KentuckyAvenueMouseEntered

    private void jl_MediterraneamAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_MediterraneamAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Mediterraneam Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_MediterraneamAvenueMouseEntered

    private void jl_AtlanticAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_AtlanticAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Atlantic Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_AtlanticAvenueMouseEntered

    private void jl_MartinLutherKingMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_MartinLutherKingMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Martin Luther King.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_MartinLutherKingMouseEntered

    private void jl_NortCarolinaAvenueMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_NortCarolinaAvenueMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Logradouro/Nort Carolina Avenue.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_NortCarolinaAvenueMouseEntered

    private void jl_NewYorkAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_NewYorkAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_NewYorkAvenueMouseExited

    private void jl_PennsyvaniaAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_PennsyvaniaAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_PennsyvaniaAvenueMouseExited

    private void jl_VermontAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_VermontAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_VermontAvenueMouseExited

    private void jl_PacifcAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_PacifcAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_PacifcAvenueMouseExited

    private void jl_STChalesPlaceMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_STChalesPlaceMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_STChalesPlaceMouseExited

    private void jl_StJamesPlaceMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_StJamesPlaceMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_StJamesPlaceMouseExited

    private void jl_IndianaAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_IndianaAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_IndianaAvenueMouseExited

    private void jl_TennesseeAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_TennesseeAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_TennesseeAvenueMouseExited

    private void jl_BoardwalkMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_BoardwalkMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_BoardwalkMouseExited

    private void jl_ConnecticutAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_ConnecticutAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_ConnecticutAvenueMouseExited

    private void jl_MarvinGardensMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_MarvinGardensMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_MarvinGardensMouseExited

    private void jl_ParkPlaceMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_ParkPlaceMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_ParkPlaceMouseExited

    private void jl_StatesAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_StatesAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_StatesAvenueMouseExited

    private void jl_BalticAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_BalticAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_BalticAvenueMouseExited

    private void jl_KentuckyAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_KentuckyAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_KentuckyAvenueMouseExited

    private void jl_MediterraneamAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_MediterraneamAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_MediterraneamAvenueMouseExited

    private void jl_AtlanticAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_AtlanticAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_AtlanticAvenueMouseExited

    private void jl_MartinLutherKingMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_MartinLutherKingMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_MartinLutherKingMouseExited

    private void jl_NortCarolinaAvenueMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_NortCarolinaAvenueMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_NortCarolinaAvenueMouseExited

    private void jl_facebookMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_facebookMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_facebookMouseExited

    private void jl_noticiaUmMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaUmMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_noticiaUmMouseExited

    private void jl_twitterMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_twitterMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_twitterMouseExited

    private void jl_noticiaDoisMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaDoisMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_noticiaDoisMouseExited

    private void jl_googleMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_googleMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_googleMouseExited

    private void jl_lucrosOuDividendosMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_lucrosOuDividendosMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_lucrosOuDividendosMouseExited

    private void jl_appleMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_appleMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_appleMouseExited

    private void jl_impostoDeRendaMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_impostoDeRendaMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_impostoDeRendaMouseExited

    private void jl_noticiaQuatroMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaQuatroMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_noticiaQuatroMouseExited

    private void jl_whatsAppMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_whatsAppMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_whatsAppMouseExited

    private void jl_noticiaCincoMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaCincoMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_noticiaCincoMouseExited

    private void jl_windowsMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_windowsMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_windowsMouseExited

    private void jl_noticiaSeisMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaSeisMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_noticiaSeisMouseExited

    private void jl_facebookMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_facebookMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Empresa/facebook_visualização.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_facebookMouseEntered

    private void jl_twitterMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_twitterMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Empresa/twitter_visualização.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_twitterMouseEntered

    private void jl_googleMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_googleMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Empresa/google_visualização.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_googleMouseEntered

    private void jl_appleMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_appleMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Empresa/apple_visualização.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_appleMouseEntered

    private void jl_whatsAppMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_whatsAppMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Empresa/whatsapp_visualização.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_whatsAppMouseEntered

    private void jl_windowsMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_windowsMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Empresa/microsoft_visualização.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_windowsMouseEntered

    private void jl_lucrosOuDividendosMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_lucrosOuDividendosMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/lucros ou dividendos.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_lucrosOuDividendosMouseEntered

    private void jl_impostoDeRendaMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_impostoDeRendaMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/imposto de renda.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_impostoDeRendaMouseEntered

    private void jl_noticiaUmMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaUmMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/SorteReves.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_noticiaUmMouseEntered

    private void jl_noticiaDoisMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaDoisMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/SorteReves.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_noticiaDoisMouseEntered

    private void jl_noticiaTresMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaTresMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/SorteReves.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_noticiaTresMouseEntered

    private void jl_noticiaTresMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaTresMouseExited
        jL_meio_tabuleiro.setIcon(null);
        PainelJogarDados.setVisible(true);
    }//GEN-LAST:event_jl_noticiaTresMouseExited

    private void jl_noticiaQuatroMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaQuatroMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/SorteReves.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_noticiaQuatroMouseEntered

    private void jl_noticiaCincoMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaCincoMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/SorteReves.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_noticiaCincoMouseEntered

    private void jl_noticiaSeisMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jl_noticiaSeisMouseEntered
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeVisualizacao/Cartas Especiais/SorteReves.png")));
        PainelJogarDados.setVisible(false);
    }//GEN-LAST:event_jl_noticiaSeisMouseEntered

    private void jL_twitterMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jL_twitterMouseClicked
        if ((evt.getModifiers() & MouseEvent.BUTTON3_MASK) != 0) {
            JPopupMenu menu = new JPopupMenu();
            JMenuItem item = new JMenuItem("Hipotecar");
            menu.add(item);

            item.addActionListener(new ActionListener() {

                @Override
                public void actionPerformed(ActionEvent ae) {
                }
            });

            menu.show(jL_twitter, evt.getX(), evt.getY());
        }
    }//GEN-LAST:event_jL_twitterMouseClicked

    private void jtf_dado1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_dado1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_dado1ActionPerformed

    private void jtf_dado1FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jtf_dado1FocusGained
        if (jtf_dado1.getText().equals("Dado 1")) {
            jtf_dado1.setText("");
        }
    }//GEN-LAST:event_jtf_dado1FocusGained

    private void jtf_dado1FocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jtf_dado1FocusLost
        if (jtf_dado1.getText().equals("")) {
            jtf_dado1.setText("Dado 1");
            jtf_dado1.setForeground(new java.awt.Color(204, 204, 204));
        }
    }//GEN-LAST:event_jtf_dado1FocusLost

    private void jtf_dado1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtf_dado1KeyPressed
   }//GEN-LAST:event_jtf_dado1KeyPressed

    private void jtf_dado1KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtf_dado1KeyReleased
        if (jtf_dado1.getText().equals("") || jtf_dado1.getText().equals("Dado 1") || jtf_dado1.getText().equals("1") || jtf_dado1.getText().equals("2") || jtf_dado1.getText().equals("3") || jtf_dado1.getText().equals("4") || jtf_dado1.getText().equals("5") || jtf_dado1.getText().equals("6")) {
            jtf_dado1.setForeground(new java.awt.Color(0, 0, 0));
        } else {
            JOptionPane.showMessageDialog(null, "Número Inválido.");
            jtf_dado1.setForeground(new java.awt.Color(204, 204, 204));
            jtf_dado1.setText("");
        }
    }//GEN-LAST:event_jtf_dado1KeyReleased

    private void jtf_dado2FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jtf_dado2FocusGained
        if (jtf_dado2.getText().equals("Dado 2")) {
            jtf_dado2.setText("");
        }
    }//GEN-LAST:event_jtf_dado2FocusGained

    private void jtf_dado2FocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jtf_dado2FocusLost
        if (jtf_dado2.getText().equals("")) {
            jtf_dado2.setText("Dado 2");
            jtf_dado2.setForeground(new java.awt.Color(204, 204, 204));
        }
    }//GEN-LAST:event_jtf_dado2FocusLost

    private void jtf_dado2KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jtf_dado2KeyReleased
//        if (jtf_dado2.getText().equals("") || jtf_dado2.getText().equals("Dado 1") || jtf_dado2.getText().equals("1") || jtf_dado2.getText().equals("2") || jtf_dado2.getText().equals("3") || jtf_dado2.getText().equals("4") || jtf_dado2.getText().equals("5") || jtf_dado2.getText().equals("6")) {
//            jtf_dado2.setForeground(new java.awt.Color(0, 0, 0));
//        } else {
//            JOptionPane.showMessageDialog(null, "Número Inválido.");
//            jtf_dado2.setText("");
//            jtf_dado2.setForeground(new java.awt.Color(204, 204, 204));
//        }
    }//GEN-LAST:event_jtf_dado2KeyReleased

    private void jB_jogarDadosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_jogarDadosActionPerformed

        if (!jtf_dado1.getText().equals("") && !jtf_dado1.getText().equals("Dado 1") && !jtf_dado2.getText().equals("") && !jtf_dado2.getText().equals("Dado 2")) {
            //jB_jogarDados.setEnabled(false);
            int valorDadoUM = Integer.parseInt(jtf_dado1.getText());
            int valorDadoDois = Integer.parseInt(jtf_dado2.getText());
            int indice = jogadorDaVez.getPeca().getLocalizacao().getIndice() - 1;
            Thread thread = new TabuleiroUI.ThreadBasica1(indice, valorDadoUM, valorDadoDois);
            thread.start();
            
            
        } else {
            JOptionPane.showMessageDialog(null, "Valores dos dados não inseridos.");
        }
    }//GEN-LAST:event_jB_jogarDadosActionPerformed

    private void jB_okActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_okActionPerformed
        jogadorDaVez.addObserver(this);
        controlInterface.debitarJogadorDaVez(jogadorDaVez, Double.parseDouble(jL_quantia.getText()));


        jD_Noticias.setVisible(false);
        ativarBotao();
    }//GEN-LAST:event_jB_okActionPerformed

    private void jB_cancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_cancelarActionPerformed
        jL_meio_tabuleiro.setIcon(null);
        jB_cancelar.setVisible(false);
        jB_comprar.setVisible(false);
    }//GEN-LAST:event_jB_cancelarActionPerformed

    private void jB_comprarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_comprarActionPerformed
        controlInterface.comprarLogradouro(jogadorDaVez);
        //controlInterface.mostraProprietario();
    }//GEN-LAST:event_jB_comprarActionPerformed

    class ThreadBasica1 extends Thread {
        // Este método(run()) é chamado quando a thread é iniciada

        int posicao;
        int dadoUm;
        int dadoDois;

        public ThreadBasica1(int posicao, int dadoUM, int dadoDois) {
            this.posicao = posicao;
            this.dadoUm = dadoUM;
            this.dadoDois = dadoDois;
        }

        @Override
        public void run() {

            for (int i = posicao; i < posicao + dadoUm + dadoDois; i++) {
                tabuleiroTela.get(i).setIcon(null);
                tabuleiroTela.get(i + 1).setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadorDaVez.getPeca().getLocalImagemTabuleiro())));
                atualizaPosicoesJogadores(jogadorDaVez);

                //tabuleiroTela.get(i + 1).setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadorDaVez.getPeca().getLocalImagemTabuleiro())));

                try {
                    Thread.sleep(500);
                } catch (InterruptedException ex) {
                    Logger.getLogger(TabuleiroUI.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
            
            adicionaObserver();

            controlInterface.estabeleceLocalizacao(dadoUm, dadoDois, jogadorDaVez);
            atualizaPosicoesJogadores(null);
            
//            for (int i = 0; i < paineis.size(); i++) {
//                if (i == indicePainel) {
//                    paineis.get(i).setBorder(javax.swing.BorderFactory.createTitledBorder(jogadores.get(i).getNome()));
//                }
//            }
            
            controlInterface.estabelecerJogadorDaVez(jogadorDaVez);
            
            estabelecerJogadorDaRodada(controlInterface.retornaJogadorDaVez());
            
            
            
        }
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel PainelJogarDados;
    private javax.swing.JLabel casa1;
    private javax.swing.JLabel casa2;
    private javax.swing.JLabel casa3;
    private javax.swing.JLabel casa4;
    private javax.swing.JLabel hotel;
    private javax.swing.JButton jB_cancelar;
    private javax.swing.JButton jB_comprar;
    private javax.swing.JButton jB_inventarioJogadorDois;
    private javax.swing.JButton jB_inventarioJogadorQuatro;
    private javax.swing.JButton jB_inventarioJogadorTres;
    private javax.swing.JButton jB_inventarioJogadorUm;
    private javax.swing.JButton jB_jogarDados;
    private javax.swing.JButton jB_ok;
    private javax.swing.JButton jB_sair;
    private javax.swing.JDialog jD_Inventario;
    private javax.swing.JDialog jD_Noticias;
    private javax.swing.JDesktopPane jDesktopPane1;
    private javax.swing.JLabel jL_Atlantic_Avenue;
    private javax.swing.JLabel jL_Baltic_Avenue;
    private javax.swing.JLabel jL_Boardwalk;
    private javax.swing.JLabel jL_Connecticut_Avenue;
    private javax.swing.JLabel jL_Indiana_Avenue;
    private javax.swing.JLabel jL_Kentucky_Avenue;
    private javax.swing.JLabel jL_Martin_Luther_King;
    private javax.swing.JLabel jL_Marvin_Gardens;
    private javax.swing.JLabel jL_Mediterraneam_Avenue;
    private javax.swing.JLabel jL_New_York_Avenue;
    private javax.swing.JLabel jL_Nort_Carolina_Avenue;
    private javax.swing.JLabel jL_OrientalAvenue;
    private javax.swing.JLabel jL_Oriental_Avenue;
    private javax.swing.JLabel jL_Pacifc_Avenue;
    private javax.swing.JLabel jL_Park_Place;
    private javax.swing.JLabel jL_Pennsyvania_Avenue;
    private javax.swing.JLabel jL_ST_Chales_Place;
    private javax.swing.JLabel jL_St_James_Place;
    private javax.swing.JLabel jL_States_Avenue;
    private javax.swing.JLabel jL_Tennessee_Avenue;
    private javax.swing.JLabel jL_Ventinor_Avenue;
    private javax.swing.JLabel jL_Vermont_Avenue;
    private javax.swing.JLabel jL_Virginia_Avenue;
    private javax.swing.JLabel jL_apple;
    private javax.swing.JLabel jL_facebook;
    private javax.swing.JLabel jL_google;
    private javax.swing.JLabel jL_img;
    private javax.swing.JLabel jL_imgInformacoes;
    private javax.swing.JLabel jL_imgJogadorDois;
    private javax.swing.JLabel jL_imgJogadorQuatro;
    private javax.swing.JLabel jL_imgJogadorTres;
    private javax.swing.JLabel jL_imgJogadorUm;
    private javax.swing.JLabel jL_meio_tabuleiro;
    private javax.swing.JLabel jL_microsoft;
    private javax.swing.JLabel jL_paradaLivre;
    private javax.swing.JLabel jL_partida;
    private javax.swing.JLabel jL_prisao;
    private javax.swing.JLabel jL_quantia;
    private javax.swing.JLabel jL_salarioJogadorDois;
    private javax.swing.JLabel jL_salarioJogadorQuatro;
    private javax.swing.JLabel jL_salarioJogadorTres;
    private javax.swing.JLabel jL_salarioJogadorUm;
    private javax.swing.JLabel jL_tabuleiro;
    private javax.swing.JLabel jL_texto;
    private javax.swing.JLabel jL_titulo;
    private javax.swing.JLabel jL_twitter;
    private javax.swing.JLabel jL_vaParaPrisao;
    private javax.swing.JLabel jL_visualizarCarta;
    private javax.swing.JLabel jL_whatsapp;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JPanel jP_JogadorDois;
    private javax.swing.JPanel jP_JogadorQuatro;
    private javax.swing.JPanel jP_JogadorTres;
    private javax.swing.JPanel jP_JogadorUm;
    private javax.swing.JPanel jP_contrucoes;
    private javax.swing.JPanel jP_empresas;
    private javax.swing.JPanel jP_imoveis;
    private javax.swing.JPanel jP_inventario;
    private javax.swing.JPanel jP_nformacoesGerais;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JTextField jTF_contrucoes1;
    private javax.swing.JTextField jTF_dinheiro;
    private javax.swing.JTextField jTF_empresas;
    private javax.swing.JTextField jTF_terreno;
    private javax.swing.JTextField jTF_total;
    private javax.swing.JLabel jl_AtlanticAvenue;
    private javax.swing.JLabel jl_BalticAvenue;
    private javax.swing.JLabel jl_Boardwalk;
    private javax.swing.JLabel jl_ConnecticutAvenue;
    private javax.swing.JLabel jl_IndianaAvenue;
    private javax.swing.JLabel jl_KentuckyAvenue;
    private javax.swing.JLabel jl_MartinLutherKing;
    private javax.swing.JLabel jl_MarvinGardens;
    private javax.swing.JLabel jl_MediterraneamAvenue;
    private javax.swing.JLabel jl_NewYorkAvenue;
    private javax.swing.JLabel jl_NortCarolinaAvenue;
    private javax.swing.JLabel jl_PacifcAvenue;
    private javax.swing.JLabel jl_ParkPlace;
    private javax.swing.JLabel jl_PennsyvaniaAvenue;
    private javax.swing.JLabel jl_STChalesPlace;
    private javax.swing.JLabel jl_StJamesPlace;
    private javax.swing.JLabel jl_StatesAvenue;
    private javax.swing.JLabel jl_TennesseeAvenue;
    private javax.swing.JLabel jl_VentinorAvenue;
    private javax.swing.JLabel jl_VermontAvenue;
    private javax.swing.JLabel jl_VirginiaAvenue;
    private javax.swing.JLabel jl_apple;
    private javax.swing.JLabel jl_facebook;
    private javax.swing.JLabel jl_google;
    private javax.swing.JLabel jl_impostoDeRenda;
    private javax.swing.JLabel jl_lucrosOuDividendos;
    private javax.swing.JLabel jl_noticiaCinco;
    private javax.swing.JLabel jl_noticiaDois;
    private javax.swing.JLabel jl_noticiaQuatro;
    private javax.swing.JLabel jl_noticiaSeis;
    private javax.swing.JLabel jl_noticiaTres;
    private javax.swing.JLabel jl_noticiaUm;
    private javax.swing.JLabel jl_twitter;
    private javax.swing.JLabel jl_whatsApp;
    private javax.swing.JLabel jl_windows;
    private javax.swing.JTextField jtf_dado1;
    private javax.swing.JTextField jtf_dado2;
    // End of variables declaration//GEN-END:variables

    private void configurarTabuleiro() {
        this.jogadores = controlInterface.retornaJogadores();

        //Jogador Um
        jP_JogadorUm.setBorder(javax.swing.BorderFactory.createTitledBorder(jogadores.get(0).getNome()));
        jL_salarioJogadorUm.setText(String.valueOf(jogadores.get(0).getDinheiro()));
        System.out.println("valor jog 0: " + String.valueOf(jogadores.get(0).getDinheiro()));
        jL_imgJogadorUm.setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(0).getPeca().getLocalImagemInformacao())));
        jP_JogadorUm.setVisible(true);

        //Jogador Dois
        jP_JogadorDois.setBorder(javax.swing.BorderFactory.createTitledBorder(jogadores.get(1).getNome()));
        jL_salarioJogadorDois.setText(String.valueOf(jogadores.get(1).getDinheiro()));
        System.out.println("valor jog 1: " + String.valueOf(jogadores.get(1).getDinheiro()));
        jL_imgJogadorDois.setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(1).getPeca().getLocalImagemInformacao())));
        jP_JogadorDois.setVisible(true);

        for (int i = 2; i < jogadores.size(); i++) {
            if (i == 2) {
                jP_JogadorTres.setBorder(javax.swing.BorderFactory.createTitledBorder(jogadores.get(i).getNome()));
                jL_salarioJogadorTres.setText(String.valueOf(jogadores.get(i).getDinheiro()));
                jL_imgJogadorTres.setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(i).getPeca().getLocalImagemInformacao())));
                jP_JogadorTres.setVisible(true);
            }
            if (1 == 3) {
                jP_JogadorQuatro.setBorder(javax.swing.BorderFactory.createTitledBorder(jogadores.get(i).getNome()));
                jL_salarioJogadorQuatro.setText(String.valueOf(jogadores.get(i).getDinheiro()));
                jL_imgJogadorQuatro.setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(i).getPeca().getLocalImagemInformacao())));
                jP_JogadorQuatro.setVisible(true);
            }

        }

        //Setar o Jogador da vez no tabuleiro
        //jL_partida.setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(0).getPeca().getLocalImagemTabuleiro())));
//        for (int i = 0; i < jogadores.size(); i++) {
//            for (int j = 0; j < tabuleiroTela.size(); j++) {
//                //System.out.println("local do jogador: "+jogadores.get(i).getPeca().getLocalizacao().getIndice());
//                if (jogadores.get(i).getPeca().getLocalizacao().getIndice() == j + 1) {
//
//                    System.out.println(jogadores.get(i).getPeca().getLocalizacao().getNome());
//                    tabuleiroTela.get(j).setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(i).getPeca().getLocalImagemTabuleiro())));
//                }
//            }
//        }
        //Setar o Jogador da Rodada
        estabelecerJogadorDaRodada(jogadores.get(0));
        atualizaPosicoesJogadores(null);
    }

    /*
     * Este Metodo estabelece o jogador da rodada.
     */
    private void estabelecerJogadorDaRodada(Jogador jogador) {
        jogadorDaVez = jogador;
//        indicePainel++;
//        paineis.get(indicePainel).setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createMatteBorder(3, 3, 3, 3, new java.awt.Color(0, 51, 204)), jogador.getNome()));
//        
//        
//        
//        if (indicePainel == controlInterface.retornaJogadores().size()-1) {
//            indicePainel = 0;
//        }
//        

    }

    @Override
    public void update(int indice) {
        tabuleiroTela.get(indice).setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadorDaVez.getPeca().getLocalImagemTabuleiro())));
        jogadores = controlInterface.retornaJogadores();

        configurarTabuleiro();
    }

    private void apresentaInformacoesDasCartasNoInvetario(Jogador jogador) {
        System.out.println("entrou aki");
        List<Logradouro> logradouros = controlInterface.retornaPropriedades(jogador);
        System.out.println(logradouros.size());
        for (int i = 0; i < logradouros.size(); i++) {
            for (int j = 0; j < inventario.size(); j++) {
                if (inventario.get(j).getToolTipText().equals(logradouros.get(i).getNome())) {
                    inventario.get(j).setEnabled(true);
                }
            }
        }
    }

    private void desativarElementosGraficos() {
        jP_JogadorUm.setVisible(false);
        jP_JogadorDois.setVisible(false);
        jP_JogadorTres.setVisible(false);
        jP_JogadorQuatro.setVisible(false);
    }

    private void adicionarLabelAoInventario() {
        inventario.add(jL_apple);
        inventario.add(jL_facebook);
        inventario.add(jL_google);
        inventario.add(jL_microsoft);
        inventario.add(jL_twitter);
        inventario.add(jL_whatsapp);
        inventario.add(jL_Atlantic_Avenue);
        inventario.add(jL_Martin_Luther_King);
        inventario.add(jL_Nort_Carolina_Avenue);
        inventario.add(jL_Boardwalk);
        inventario.add(jL_Connecticut_Avenue);
        inventario.add(jL_Pacifc_Avenue);
        inventario.add(jL_ST_Chales_Place);
        inventario.add(jL_St_James_Place);
        inventario.add(jL_Indiana_Avenue);
        inventario.add(jL_Tennessee_Avenue);
        inventario.add(jL_Marvin_Gardens);
        inventario.add(jL_Park_Place);
        inventario.add(jL_States_Avenue);
        inventario.add(jL_Baltic_Avenue);
        inventario.add(jL_Kentucky_Avenue);
        inventario.add(jL_Kentucky_Avenue);
        inventario.add(jL_Mediterraneam_Avenue);
        inventario.add(jL_Oriental_Avenue);
        inventario.add(jL_Ventinor_Avenue);
        inventario.add(jL_Virginia_Avenue);
        inventario.add(jL_New_York_Avenue);
        inventario.add(jL_Pennsyvania_Avenue);
        inventario.add(jL_Vermont_Avenue);
    }

    private void adicinarLabelAoTabuleiroTela() {
        tabuleiroTela.add(jL_partida);
        tabuleiroTela.add(jL_OrientalAvenue);
        tabuleiroTela.add(jl_VentinorAvenue);
        tabuleiroTela.add(jl_facebook);
        tabuleiroTela.add(jl_VirginiaAvenue);
        tabuleiroTela.add(jl_NewYorkAvenue);
        tabuleiroTela.add(jl_noticiaUm);
        tabuleiroTela.add(jl_PennsyvaniaAvenue);
        tabuleiroTela.add(jl_twitter);
        tabuleiroTela.add(jl_VermontAvenue);
        tabuleiroTela.add(jL_prisao);
        tabuleiroTela.add(jl_noticiaDois);
        tabuleiroTela.add(jl_PacifcAvenue);
        tabuleiroTela.add(jl_STChalesPlace);
        tabuleiroTela.add(jl_google);
        tabuleiroTela.add(jl_StJamesPlace);
        tabuleiroTela.add(jl_lucrosOuDividendos);
        tabuleiroTela.add(jl_IndianaAvenue);
        tabuleiroTela.add(jl_TennesseeAvenue);
        tabuleiroTela.add(jl_Boardwalk);
        tabuleiroTela.add(jL_paradaLivre);
        tabuleiroTela.add(jl_ConnecticutAvenue);
        tabuleiroTela.add(jl_apple);
        tabuleiroTela.add(jl_impostoDeRenda);
        tabuleiroTela.add(jl_noticiaTres);
        tabuleiroTela.add(jl_MarvinGardens);
        tabuleiroTela.add(jl_ParkPlace);
        tabuleiroTela.add(jl_noticiaQuatro);
        tabuleiroTela.add(jl_StatesAvenue);
        tabuleiroTela.add(jl_whatsApp);
        tabuleiroTela.add(jL_vaParaPrisao);
        tabuleiroTela.add(jl_BalticAvenue);
        tabuleiroTela.add(jl_noticiaCinco);
        tabuleiroTela.add(jl_KentuckyAvenue);
        tabuleiroTela.add(jl_MediterraneamAvenue);
        tabuleiroTela.add(jl_AtlanticAvenue);
        tabuleiroTela.add(jl_windows);
        tabuleiroTela.add(jl_MartinLutherKing);
        tabuleiroTela.add(jl_noticiaSeis);
        tabuleiroTela.add(jl_NortCarolinaAvenue);

    }

    public void mostrarNoticia(Noticia Carta) {
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        jD_Noticias.setBounds((screenSize.width - 265) / 2, (screenSize.height - 270) / 2, 265, 270);
        jD_Noticias.setVisible(true);
        jL_texto.setText(Carta.getTexto());
        jL_titulo.setText(Carta.getTitulo());
        jL_quantia.setText(String.valueOf(Carta.getValor()));


    }

    public void adicionaObserver() {
        jogadorDaVez.addObserver(this);
    }

    public void ativarBotao() {
        jB_jogarDados.setEnabled(true);
    }

    public void comprarLogradouro(Logradouro aThis) {     
        jL_meio_tabuleiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/banco_imobiliario/imagens/ImagensDeCompra/Logradouro/" + aThis.getNome() + ".png")));
        PainelJogarDados.setVisible(false);
        
    }

    private void atualizaPosicoesJogadores(Jogador jogador) {
        for (int i = jogadores.size() - 1; i >= 0; i--) {
            if (jogador != jogadores.get(i)) {
                tabuleiroTela.get(jogadores.get(i).getPeca().getLocalizacao().getIndice() - 1).setIcon(new javax.swing.ImageIcon(getClass().getResource(jogadores.get(i).getPeca().getLocalImagemTabuleiro())));
            }
        }

    }

    public void adicionarPaineis() {
        jogadores = controlInterface.retornaJogadores();

        paineis.add(jP_JogadorUm);
        paineis.add(jP_JogadorDois);
        if (jogadores.size() == 3) {
            paineis.add(jP_JogadorTres);
        } else if (jogadores.size() == 4) {
            paineis.add(jP_JogadorTres);
            paineis.add(jP_JogadorQuatro);
        }
    }
}
